<template>
  <el-card class="box-card">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="上传素材" name="first">
        <Uploader />
      </el-tab-pane>
      <el-tab-pane label="v2" name="second">
        <V2 />
        </el-tab-pane>
    </el-tabs>
  </el-card>
</template>
  
  <script>
import Uploader from "./component/uploader.vue";
import V2 from "./component/v2.vue";
export default {
  components: {
    Uploader,
    V2
  },
  data() {
    return {
      activeName: "first"
    };
  },
  methods: {
    handleClick(tab, event) {
        console.log(tab, event);
      }
  }
};
</script>
  
<style scoped lang="less"> 

</style>